<div class="card card-postafter">
		    <div class="card-header">
		        <dl class="row">
					<dt>
						<b>回复</b>
					</dt>
				</dl>
		    </div>
		    <div class="card-block">
		    <?php if(!empty($user)) { ?>
		        <!-- 用户 -->
		        <table class="table postarea m-b-0">
					<tbody>
						<tr class="post">
							<td class="td-avatar">
								<a href="<?php echo url("user-$thread[uid]");?>" tabindex="-1">
									<img class="avatar" src="<?php echo $user['avatar_url'];?>">
								</a>
								<span class="group group-<?php echo $group['gid'];?>" title="<?php echo $group['name'];?>"></span>
							</td>
							<td class="p-l-0">
								<form action="<?php echo url("post-create-$tid-1");?>" method="post" id="quick_reply_form">	
									<input type="hidden" name="doctype" value="1" />
									<input type="hidden" name="return_html" value="1" />
									<input type="hidden" name="quotepid" value="0" />
									<dl class="row small text-muted">
										<dt class="username"><?php echo $user['username'];?></dt>
										<dd class="text-right text-grey"><span class="floor"><?php echo ($thread['posts'] + 1);?></span><?php echo lang('floor');?></dd>
									</dl>
									<div class="message m-t-xs">
										<fieldset class="form-group m-b-0">
											<textarea class="form-control huux-message" placeholder="<?php echo lang('message');?>" name="message" id="message"></textarea>
										</fieldset>
									</div>
									<div class="text-muted  m-t-sm small">
										<dl class="row">
											<dt>
												<!--{hook thread_quick_reply_left_start.htm}-->
												<button type="submit" class="btn btn-secondary btn-sm" id="submit" data-loading-text="<?php echo lang('submiting');?>..."> <?php echo lang('post_create');?> </button>
												<!--{hook thread_quick_reply_left_end.htm}-->
											</dt>
											<dd class="text-right vtop">
												<!--{hook thread_quick_reply_right_start.htm}-->
												<a class="icon-mail-forward text-muted" href="<?php echo url("post-create-$tid");?>" id="advanced_reply"> 高级回复</a>
												<!--{hook thread_quick_reply_right_end.htm}-->
											</dd>
										</dl>
									</div>
								</form>
							</td>
						</tr>
						</tbody>
					</table>
					<?php }else{ ?>
					<!-- 游客 -->
					<div class="text-center">
		                  <a class="btn btn-sm btn-secondary m-r-xs" href="<?php echo url('user-login');?>" >登录</a>发表 or 还没有账号？去<a  class="m-l-xs" href="<?php echo url('user-create');?>"><b>注册</b></a>
		            </div>
					<?php }?>
	</div>
</div>
